package com.ys.web.user.privacy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrivacyService {
    @Autowired
    private PrivacyMapper privacyMapper;

    public Privacy getPrivacyById(long userId){
        return privacyMapper.getPrivacyById(userId);
    }

    public List<Privacy> getPrivacyByIds(List<String> list){
        return privacyMapper.getPrivacyByIds(list);
    }

    public int config(String uid, int status, int type){
        return privacyMapper.config(uid, status, type);
    }
}
